home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-11-10 | 3.8 KB | 108 lines | [TEXT/ttxt] |
- Note to Macintosh users:
-
- If you are going to install the program on another system, you should get
- the most recent distribution (rtrace-8.0) from INESCN..
-
- If you encounter Macintosh specific bugs, please contact: Reid Judd at
- ILLUMINATI@AppleLink.Apple.Com immediately and help me solve them. General
- rtrace bugs, suggestions, and complements for such a great program should be
- refered to Antonio Costa.
-
- The RTrace Textures directory contains SFF files which each render a single
- sphere with a different texture on each one. To see it render the textures,
- select from the Options dialog: "Texture: Inside Objects Field" otherwise, you
- will just see a blank sphere. Note that the image texture mapping files:
- image.sff and image1.sff can only open the image map once in a session and
- it must be in PPM format. The next version will allow multiple images and
- support for PICT format images.
-
- -- reid judd
- ILLUMINATI@AppleLink.Apple.Com
-
- ((the rest of this document is the original message of the README))
-
- ###############################################################
- `rtrace' RAYTRACER
- written by Antonio Costa
- a_costa@inescn.pt
- a_costa@inescn.rccn.pt
- acc@asterix.inescn.pt
- ###############################################################
-
- This represents the 7th formal release of the `rtrace' Raytracer.
- It was written to help me understand how raytracing works, to
- generate cute images, and generally because I like to program.
- Feel free to use it for any purpose, I am releasing it into the
- public domain.
-
- The input format to this ray tracer is called "SFF" or Simple File
- Format, after using "NFF" or Neutral File Format, which was invented
- by Eric Haines' for his Standard Procedural Database.
- The SPD was designed to allow programmers to test their
- raytracers on databases of varying sizes. While not the end-all to
- object file formats, it has served me well.
-
- If anyone uses or wants to use NFF, I can send a NFF to SFF
- converter.
-
- SFF supports the following concepts and primitives:
- point lights
- directional lights
- spot lights with fall-off
- extended lights
- 2 ways of defining surfaces
- spheres
- axis-aligned parallelipipeds
- cylinders
- cones
- bicubic patches
- polygons
- polygonal patches (normals are interpolated from corner points)
- 3D text with high quality
- CSG operations
- 4x4 matrix transformations
- textures
- depth of field
- diffuse distribution
- stereoscopic pair creation
-
- The `rtrace' raytracer supports all of these primitives, with the minor
- limitation that polygonal patches must be triangles (have only three
- vertices).
-
- Procedural textures (with 4x4 matrix transformations) are also supported:
- checkerboard
- color blotches
- marble
- bump map
- fbm
- fbm bump map
- wood
- gloss
- image mapping
- waves
- (and many others...)
-
- The output from the raytracer is very simple, and not directly tied to
- any specific device. It consists of a single line, with format in
- C style of "%c%c%c%c", which gives the resolution of the image
- (Width LSByte, Width MSByte, Height LSByte, Height MSByte).
- It is then followed by Width*Height sets of (red green blue) bytes.
-
- I have lots of filters source code for displaying the ".pic" files,
- as well as interesting objects that I run accross.
- Filters already exist to display images on Suns, to convert to PostScript,
- as well as X11 bitmaps for xwud.
-
- I advise you to get a package called the "Fuzzy Bitmap Package" (FBM),
- that has lots of useful programs for simple image processing,
- conversion, etc. The author is Michael Mauldin <mlm@nl.cs.cmu.edu>.
- The Utah Raster Toolkit is also a very good graphics package.
- Also good is Eric Haines' SPD source code, so you can generate your own
- fractal spheres, mountains, gears, etc.
-
- Also thanks to the numerous authors whose research into raytracing has
- seen implementation in this raytracer.
-
- Antonio Costa.
-